package com.bank.controller;

import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class MainConroller {
	
	
	
	//反显登录界面
	@RequestMapping("login.do")
	public String loginView(){
			
		return "login";
	}
	
	//反显主界面
	@RequestMapping("index.do")
	public String index(HttpServletRequest request){
		return "index";
	}
	
	//增加客户主界面
	@RequestMapping("addCustomer.do")
	public String addCustomer(HttpServletRequest request){
		return "addCustomer";
	}
	
	//客户主界面
	@RequestMapping("queryCustomer.do")
	public String queryCustomer(HttpServletRequest request){
		return "queryCustomer";
	}

	
	//批量导入客户信息主界面
	@RequestMapping("batchImport.do")
	public String batchImport(){
		return "batchImport";
	}
	
	//批量导入客户信息主界面
	@RequestMapping("openAccount.do")
	public String openAccount(){
		return "openAccount";
	}
	
	@RequestMapping("updateAccount.do")
	public String updateAccount(){
		return "updateAccount";
	}
	
	

	
	@RequestMapping("listAccount.do")
	public String listAccount(){
		return "listAccount";
	}
	
	/**
	 * 存款主界面
	 * **/
	@RequestMapping("deposit.do")
	public String deposit()
	{
		return "deposit";
	}
	
	/**
	 * 存款主界面
	 * **/
	@RequestMapping("withrawal.do")
	public String withdrawal()
	{
		return "withrawal";
	}
	
	
	/**
	 * 帐务查询主界面
	 * **/
	@RequestMapping("queryAccountDetail.do")
	public String queryAccountDetail()
	{
		return "queryAccountDetail";
	}
	
	/**
	 * 帐务查询主界面
	 * **/
	@RequestMapping("tellermanages.do")
	public String tellerManages()
	{
		return "tellermanages";
	}
	
	/**
	 * 
	 * 机构管理主界面 
	 * 
	 */
	@RequestMapping("orimange.do")
	public String orimange(){
		return "orimange";
	}
	
	/**
	 * 科目管理主界面
	 * 
	 */
	@RequestMapping("subjectManages.do")
	public String subjectManages(){
		return "subjectManages";
	}
}
